import awaitImg from "@/static/index/await.png"
import awaitImg2 from "@/static/index/await2.png"
import doingImg from "@/static/index/doing.png"
import doingImg2 from "@/static/index/doing2.png"
import finalImg from "@/static/index/final.png"
import finalImg2 from "@/static/index/final2.png"
import followImg from "@/static/index/follow.png"
import followImg2 from "@/static/index/follow2.png"
import rateImg from "@/static/index/rate.png"
import rateImg2 from "@/static/index/rate2.png"
import reportImg from "@/static/index/report.png"
import reportImg2 from "@/static/index/report2.png"
import {
	EventStatusMap,
	EventStatusEnum
} from "@/enums/event"
// 待处理:await
// 处理中:doing
// 已办结:final
// 事件评价:rate
// 事件上报:report
// 事件跟踪:follow
// 历史待办:history
// 工作人员首页路由更新为:1.事件上报,2.我的待办,3.历史待办,4.已办结,5.事件跟踪(我的上报)
export const PathEnum = {
	"await": "await",
	"doing": "doing",
	"final": "final",
	"follow": "follow",
	"rate": "rate",
	"report": "report",
	"history": "history", // 工作人员:历史待办
}
export const PathIcon = {
	[PathEnum.await]: awaitImg,
	[PathEnum.doing]: doingImg,
	[PathEnum.final]: finalImg,
	[PathEnum.follow]: followImg,
	[PathEnum.rate]: rateImg,
	[PathEnum.report]: reportImg,
	[PathEnum.history]: awaitImg,
	[PathEnum.await + '2']: awaitImg2,
	[PathEnum.doing + '2']: doingImg2,
	[PathEnum.final + '2']: finalImg2,
	[PathEnum.follow + '2']: followImg2,
	[PathEnum.rate + '2']: rateImg2,
	[PathEnum.report + '2']: reportImg2,
	[PathEnum.history + '2']: awaitImg2
}
export const RoutesPathConfig = {
	[PathEnum.await]: `/pages/event/event/list?status=${EventStatusEnum[EventStatusMap.processing]}`,
	[PathEnum.doing]: `/pages/event/event/list?status=${EventStatusEnum[EventStatusMap.processing]}`,
	[PathEnum.final]: `/pages/event/event/list?status=${EventStatusEnum[EventStatusMap.completed]}`,
	[PathEnum.follow]: "/pages/event/follow/follow",
	[PathEnum.rate]: "/pages/event/rate/rate",
	[PathEnum.report]: "/pages/event/report/report",
	[PathEnum.history]: `/pages/event/event/list?history=${PathEnum.history}`
}